package cn.edu.xmist.expression;

import cn.edu.xmist.conduct.Blockable;
import cn.edu.xmist.conduct.Destroyable;
import cn.edu.xmist.conduct.Hitable;
import cn.edu.xmist.constant.ConfigConstant;
import cn.edu.xmist.utils.PictureUtil;

/**
 * 水
 */
public class Water extends AbstractPicture {

	public Water(int x, int y) {
		super(x, y);
		int[] size = PictureUtil.getImgSize(ConfigConstant.WATER);
		this.width = size[0];
		this.height = size[1];
	}

	@Override
	protected void draw() {
		PictureUtil.draw(ConfigConstant.WATER, x, y);
	}

	@Override
	protected int getOrder() {
		// TODO 自动生成的方法存根
		return 0;
	}
}
